function _createMenuBottomView()
{
	var view = Titanium.UI.createView({
		width: 480,
		height: 40,
		backgroundColor: '#FFF',
		opacity: 0,
		top: 320,
		showing: false
	});
	
	return view;
}

function _createMenuTopView()
{
	var view = Titanium.UI.createView({
		width: 480,
		height: 40,
		backgroundColor: '#FFF',
		opacity: 0,
		top: -60
	});
	
	return view;
}

function _showMenu(menuTopView, menuBottomView)
{
	menuTopView.animate({ top: 0, opacity: 0.8, duration: 800 });
	
	menuBottomView.animate({ top: 300 - menuBottomView.height, opacity: 0.8, duration: 800 }, function()
	{
		menuBottomView.showing = true;
	});
}

function _hideMenu(menuTopView, menuBottomView)
{
	menuTopView.animate({ top: -menuTopView.height, opacity: 0.8, duration: 800 });
	
	menuBottomView.animate({ top: 300, opacity: 0, duration: 800 }, function()
	{
		menuBottomView.showing = false;
	});
}

// function setlinks ofzo.. twitter / facebook